Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added a class QueueableViewAsPdf to support generating pdf files in H… #118

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

stephenzeng
Copy link

In one of my projects sometimes it takes very long time (more than 30 seconds) for it to generate a pdf and email it out. I found it takes most of the time for it to run the WkhtmltopdfDriver.ConvertHtml() method, so I created this class so that the WkhtmltopdfDriver.ConvertHtml() part can be executed in HostingEnvironment.QueueBackgroundWorkItem().

…ostingEnvironment.QueueBackgroundWorkItem()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant